﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace NUnitTest.UnitTest.Targets
{
    [TestFixture]
    public class TestFailed
    {
        [Test]
        public void AssertConditionFailedTestShouldFail()
        {
            Assert.IsTrue(false);
        }
        
        [Test]
        public void AssertNullFailedTestShouldFail()
        {
            Assert.IsNull(new Object());
        }

        [Test]
        public void AssertAreEqualFailedShouldFail()
        {
            Assert.AreEqual(new string[]{"1", "2"}, new string[]{"2", "1"});
        }

        [Test]
        public void AssertAreSameFailedShouldFail()
        {
            Object o = new Object();
            Object b = new Object();
            Assert.ReferenceEquals(o, b);
        }
    }
}
